<template>
  <div class="dashboard-container">
    <div class="title">作业区预警数统计</div>
    <chart-1 />
    <div class="title">作业区清防蜡工艺统计</div>
    <chart-2 />
    <div class="title">区块清防蜡工艺统计</div>
    <chart-3 />

    <div class="title">作业区清防蜡周期统计</div>
    <chart-4 />

    <div class="title">区块清防蜡周期统计</div>
    <chart-5 />

  </div>
</template>

<script>
import chart1 from './components/chart1'
import chart2 from './components/chart2'
import chart3 from './components/chart3'
import chart4 from './components/chart4'
import chart5 from './components/chart5'
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  components: {
    chart1,
    chart2,
    chart3,
    chart4,
    chart5
  },
  computed: {
    ...mapGetters(['name'])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}

.title {
  font-size: 20px;
}
</style>
